The Set XML Fields window
The Set XML Fields window contains the following elements:
| Option | Description |
|---|---|
| Fields | Defines the list of fields which are contained in the XML database. |
| InfoScan Field | When this option is selected, the field, which is currently selected in the Fields list, is placed in the <dkfm:metadata> part of the finished XML files. The fields isdestname and scheme appear as attributes in the window. |
| isdestname |
Defines the name of the element in which the value of the currently selected field in the Fields list must be placed in the finished XML file. If, for instance, the isdestname attribute is defined as <dc:title>Hello</dc:title>
The isdestname attribute only exists, if the InfoScan Field option is selected. |
| Name | Defines the name of an extra attribute, which must be inserted in the finished XML file. The value of the extra attribute is defined in the Fixed Value field. See also the example of usage of this field in sjgroupname. |
| Fixed Value | Defines the value of the attribute, which is defined in the Name field. See also the example of usage of this field in sjgroupname. In KMD’s solution: IndScanPers. |
| scheme |
Defines the value of the scheme attribute in the finished XML file. If, for instance, the <dc:HasPart scheme=”URL”>File:///c:/sjout/1.tif</dc:HasPart>
The scheme attribute only exists, if the InfoScan Field option is selected. |
| SJ Field | When this option is selected, the currently selected field in the Fields list is placed in the <sj:metadata> part of the finished XML files. The fields sjfieldname and sjscheme appear as attributes in the window. |
| sjfieldname |
Defines the value of the name attribute in the If, for instance, the sjfieldname attribute is defined as
The sjfieldname attribute only exists, if either the SJ Field or the SJ Group options is selected. |
| SJ Group | When this option is selected, the currently selected field in the Fields list is placed in the <sj:metadata> part of the finished XML files. The fields sjgroupname, sjfieldname and sjscheme appear as attributes in the window. |
| sjgroupname |
Defines the value of the name attribute in the If, for instance, the sjgroupname attribute is defined as <sj:group name=”datogroup”><sj:field name=”ledetxt”>fødselsdato</sj:field><sj:field name=”dato” scheme=”ISO8601”>2007-03-15</sj:field></sj:group>
The sjgroupname attribute only exists, if the SJ Group option is selected. |
| sjscheme |
Defines the value of the scheme attribute in the
If, for instance, the sjgroupname attribute is defined as <sj:group name=”datogroup”><sj:field name=”ledetxt”>fødselsdato</sj:field><sj:field name=”dato” scheme=”ISO8601”>2007-03-15</sj:field></sj:group>
The sjscheme attribute only exists, if either the SJ Field or the SJ Group option is selected. |
| Use XSLT file to transform output |
Defines the path to the XSLT transformation file, which must be used for transforming the format of the XML file of the InfoScan programs to the format used by the XML file of WorkZone Content Server. When adding new fields the order of the fields is very important. The fields must be placed in the following order: InfoScan Field, SJField and SJGroup. |